package com.huatai.user.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 用户审核记录
 * </p>
 *
 * @author songxiude
 * @since 2024-05-29
 */
@Data
@TableName("user_check_record")
@ApiModel(value = "UserCheckRecord对象", description = "用户审核记录")
public class UserCheckRecord implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键",hidden = true)
	@TableId(value = "id",type = IdType.ASSIGN_ID)
	private Long id;

	@ApiModelProperty(value = "用户id",required = true)
	@TableField("user_id")
	private Long userId;

	@ApiModelProperty(value = "审核人",hidden = true)
	@TableField("check_user_id")
	private Long checkUserId;

	@ApiModelProperty(value = "审核状态1通过2拒绝",required = true)
	@TableField(value = "check_state")
	private Integer checkState;

	@ApiModelProperty("审核说明")
	@TableField("check_info")
	private String checkInfo;

	@TableField(value = "create_time",fill = FieldFill.INSERT)
	@ApiModelProperty(value = "创建时间",hidden = true)
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime createTime;


}




